package StudyCode.summary.mycollection;

import java.util.Collections;
import java.util.HashSet;
import java.util.Set;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class SynchronizedSetFromHashSet {
	public static void main(String[] args) {
		HashSet hashSet = new HashSet();
		Set set = Collections.synchronizedSet(hashSet);
		System.out.println("synchronized Set:" + set);
	}
}
